home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
photobucket.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
5KB
|
161 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="photobucket"
version="$Id: photobucket.xml 15053 2007-09-25 19:51:36Z chris $"
xmlns="http://www.flock.com/web-detective#">
<strings>
<string name="domains" value="photobucket.com"/>
<string name="userloginURL">
<![CDATA[http://photobucket.com/login.php]]>
</string>
<string name="userprofileURL">
<![CDATA[http://photobucket.com/images/search/%accountid%]]>
</string>
<string name="serviceloginURL">
<![CDATA[http://photobucket.com/svc/servicelogin.php]]>
</string>
<string name="apiURL">
<![CDATA[http://photobucket.com/svc/api.php]]>
</string>
</strings>
<sessioncookies>
<cookie host=".photobucket.com" name="PHPSESSID" path="/"/>
<cookie host=".photobucket.com" name="GUID" path="/"/>
<cookie host=".photobucket.com" name="pbauth" path="/"/>
<cookie host=".photobucket.com" name="pbpassword" path="/"/>
<cookie host=".photobucket.com" name="pbusername" path="/"/>
<cookie host=".photobucket.com" name="AAMBLC" path="/"/>
<cookie host=".photobucket.com" name="BLCOOKIE" path="/"/>
<cookie host=".photobucket.com" name="pb_action_bitmask" path="/"/>
<cookie host=".photobucket.com" name="pb_action_timestamp" path="/"/>
<cookie host=".photobucket.com" name="LE0" path="/"/>
<cookie host=".photobucket.com" name="LE1" path="/"/>
<cookie host=".photobucket.com" name="LE2" path="/"/>
<cookie host=".photobucket.com" name="LE3" path="/"/>
<cookie host=".photobucket.com" name="LE4" path="/"/>
<cookie host=".photobucket.com" name="__utma" path="/"/>
<cookie host=".photobucket.com" name="__utmb" path="/"/>
<cookie host=".photobucket.com" name="__utmc" path="/"/>
<cookie host=".photobucket.com" name="__utmz" path="/"/>
</sessioncookies>
<detect type="login">
<url domain="photobucket.com"/>
<form>
<xpath name="username" extract="value">
<![CDATA[//input[@id="username"]]]>
</xpath>
<xpath name="password" extract="value">
<![CDATA[//input[@id="password"][@type="password"]]]>
</xpath>
</form>
</detect>
<detect type="login">
<url domain="photobucket.com" />
<form>
<field name="usernameemail" extractas="username"/>
<field name="password" type="password"/>
</form>
</detect>
<detect type="login">
<url domain="photobucket.com">
<path contains="svc/servicelogin.php"/>
</url>
<form>
<field name="username"/>
<field name="password" type="password"/>
</form>
</detect>
<detect type="signup">
<url domain="photobucket.com"><path contains="/register.php"/></url>
<form>
<field tagname="input" name="username"/>
<field tagname="input" name="password2" type="password" extractas="password"/>
</form>
</detect>
<detect type="changepassword">
<url domain="photobucket.com">
<querystring contains="action=accountoptions"/>
<querystring contains="category=password"/>
</url>
<document>
<regexp re1="username">
<![CDATA[/Username: .*>(.*)<\/span>/]]>
</regexp>
</document>
<form>
<xpath name="password" extract="value">
<![CDATA[[@name="changePW"]//input[@type="password"][@name="accountOptions[confirmPW]"]]]>
</xpath>
</form>
</detect>
<detect type="loggedin">
<xpath><![CDATA[//table[@id="panelHeader"]//div[@id="menuWelcome"]/a/text()[contains(.,"logout")]]]></xpath>
</detect>
<detect type="loggedin">
<xpath><![CDATA[//table[@id="tblHeaderFrame"]//td[@id="navUserMenu"]/a/text()[contains(.,"logout")]]]></xpath>
</detect>
<detect type="loggedin">
<url><path contains="svc/servicelogin.php"/></url>
<xpath><![CDATA[//p/text()[contains(.,"You have granted Flock")]]]></xpath>
</detect>
<detect type="loggedout">
<url domain="photobucket.com">
<querystring contains="action=logout"/>
</url>
</detect>
<detect type="loggedout">
<cookies>
<cookie nomatch="true" host=".photobucket.com" name="pbauth" path="/"/>
</cookies>
</detect>
<detect type="loggedout">
<xpath><![CDATA[//table[@id="menuTop"]//a/text()[contains(.,"log in")]]]></xpath>
</detect>
<detect type="loggedout">
<xpath><![CDATA[//form[@id="formHeaderLogin"]//input[@type="submit"][@name="login"]]]></xpath>
</detect>
<detect type="loggedout">
<xpath><![CDATA[//div[@id="groupHeaderLoginLinks"]//a[@href="http://photobucket.com/login"]]]></xpath>
</detect>
<detect type="accountinfo">
<regexp re1="userid">
<![CDATA[/welcome, (.+?)</]]>
</regexp>
</detect>
<detect type="person">
<url>
<regexp re1="userid">
<![CDATA[/photobucket\.com\/albums\/\w*?\/(\w*)/]]>
</regexp>
</url>
</detect>
<detect type="media">
<url>
<regexp re1="userid">
<![CDATA[/photobucket\.com\/albums\/\w*?\/(\w*)/]]>
</regexp>
</url>
</detect>
<detect type="apiauth">
<regexp re1="user_id"><![CDATA[/name="user_id" value="(\w+)"/]]></regexp>
</detect>
</service>